﻿using System;
using System.Windows.Controls;

namespace Apps.WorkPlugin
{
    public partial class MonitorView : UserControl
    {
        public MonitorView()
        {
            InitializeComponent();
        }
        public Action<object> SelectionChanged;
        private void combobox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            var select = sender as ComboBox;
            if (SelectionChanged != null)
                SelectionChanged(select.SelectedItem);
        }
    }
}
